package com.burstly.lib.component;

import android.view.View;
import com.burstly.lib.feature.networks.IAdaptorFactory;
import java.util.Map;

class AdaptorWrapper
  implements IBurstlyAdaptor, IClickTracker
{
  private final IBurstlyAdaptor mAdaptor;
  private final IAdaptorFactory mFactory;

  AdaptorWrapper(IBurstlyAdaptor paramIBurstlyAdaptor, IAdaptorFactory paramIAdaptorFactory)
  {
    this.mAdaptor = paramIBurstlyAdaptor;
    this.mFactory = paramIAdaptorFactory;
  }

  public void destroy()
  {
    this.mAdaptor.destroy();
  }

  public void endTransaction(IBurstlyAdaptor.TransactionCode paramTransactionCode)
  {
    this.mAdaptor.endTransaction(paramTransactionCode);
  }

  public void endViewSession()
  {
    this.mAdaptor.endViewSession();
  }

  public IBurstlyAdaptor.BurstlyAdType getAdType()
  {
    return this.mAdaptor.getAdType();
  }

  public String getNetworkName()
  {
    return this.mAdaptor.getNetworkName();
  }

  public View getNewAd()
  {
    return this.mAdaptor.getNewAd();
  }

  public ITrackClickResponseHandler getResponseHandler()
  {
    if ((this.mAdaptor instanceof IClickTracker))
      return ((IClickTracker)this.mAdaptor).getResponseHandler();
    return null;
  }

  public void pause()
  {
    this.mAdaptor.pause();
  }

  public View precacheAd()
  {
    return this.mAdaptor.precacheAd();
  }

  public void precacheInterstitialAd()
  {
    this.mAdaptor.precacheInterstitialAd();
  }

  public void resume()
  {
    this.mAdaptor.resume();
  }

  public void setAdaptorListener(IBurstlyAdaptorListener paramIBurstlyAdaptorListener)
  {
    this.mAdaptor.setAdaptorListener(paramIBurstlyAdaptorListener);
  }

  public void showPrecachedInterstitialAd()
  {
    this.mAdaptor.showPrecachedInterstitialAd();
  }

  public void startTransaction(Map<String, ?> paramMap)
    throws IllegalArgumentException
  {
    this.mFactory.initialize(paramMap);
    this.mAdaptor.startTransaction(paramMap);
  }

  public void startViewSession()
  {
    this.mAdaptor.startViewSession();
  }

  public void stop()
  {
    this.mAdaptor.stop();
  }

  public boolean supports(String paramString)
  {
    return this.mAdaptor.supports(paramString);
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.burstly.lib.component.AdaptorWrapper
 * JD-Core Version:    0.6.2
 */